package entity;

import lombok.Data;

import java.util.List;

@Data
public class PermissionBean {
    private int Pid;
    private String Pname;
    private int Plevel;
    private String Ppath;
    private int firstChildId;

    public int getFirstChildId() {
        return firstChildId;
    }

    public void setFirstChildId(int firstChildId) {
        this.firstChildId = firstChildId;
    }

    private List<PerFirstChild> firstChild;

    public List<PerFirstChild> getFirstChild() {
        return firstChild;
    }

    public void setFirstChild(List<PerFirstChild> firstChild) {
        this.firstChild = firstChild;
    }

    public String getPpath() {
        return Ppath;
    }

    public void setPpath(String ppath) {
        Ppath = ppath;
    }

    public int getPlevel() {
        return Plevel;
    }

    public void setPlevel(int plevel) {
        Plevel = plevel;
    }

    public int getPid() {
        return Pid;
    }

    public void setPid(int pid) {
        Pid = pid;
    }

    public String getPname() {
        return Pname;
    }

    public void setPname(String pname) {
        Pname = pname;
    }
}
